class ScrollTi extends eui.Component {
	constructor() {
		super();
		this.skinName = 'scrolltiSkin';
	}

	textDes: TextWithImage;

	// sl: ScrollList;
	group: eui.Group;

	sc: eui.Scroller;

	override childrenCreated(): void {
		super.childrenCreated();
		// this.sl.addChild(this.textDes);
		this.sc.viewport = this.group;

		this.textDes.width = this.group.width;
		this.textDes.height = this.group.height;
	}

	resetWidth(width:number){
		this.width = width;
		this.textDes.resetWidth(width);
	}
}
